package helloworld.example.search;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.apache.struts.action.Action;
import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionForward;
import org.apache.struts.action.ActionMapping;
import org.apache.struts.util.ImageButtonBean;

public class ManageCustomersForm extends ActionForm {
	private String[] idSelections;
	private String lastName;	
	private ImageButtonBean searchButton;
	private ImageButtonBean deleteButton;
	private ImageButtonBean newButton;
	
	// getters and setters
	public ManageCustomersForm() {
		init();
	}

	protected void init()
	{
		idSelections = new String[] { "" };
		lastName = "";
		searchButton = new ImageButtonBean();
		deleteButton = new ImageButtonBean();
		newButton = new ImageButtonBean();
	}
	
	public String getLastName() 
	{
		return lastName;
	}

	public void setLastName(String string) 
	{
		lastName = string;
	}

	public ImageButtonBean getSearchButton()
	{
		return searchButton;
	}
	
	public ImageButtonBean getDeleteButton()
	{
		return deleteButton;
	}
	
	public ImageButtonBean getNewButton()
	{
		return newButton;
	}
	
	public String[] getIdSelections(){
		return idSelections;
	}
	
	public void setIdSelections(String[] idSelects){
		this.idSelections = idSelects;
	}
}
